package com.jg.service;

import com.jg.comm.Page;
import com.jg.entity.Book;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BookService {

    //获取书籍列表分页
    Page<Book> getBookPage(String bookName, String author, Integer pageNum, Integer pageSize);

    //新增书籍
    String addBook(Book book);

    //删除书籍
    String deleteBook(Integer id);

    //修改书籍
    String updateBook(Book book);
}
